x86 shadow: Move the shadow linear mapping for n-on-3-on-4 shadows so
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 11 Feb 2008 10:16:53 +0000 (10:16 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 11 Feb 2008 10:16:53 +0000 (10:16 +0000)
commit670d6b908ff2fba90536b8f139fb2c66506b253e
tree7ef68f51a2b9598c28f4d9f1233e9b67ddf916d4
parentce49af7f2c633c65cbf0eb10c1b1d503cff7688f
x86 shadow: Move the shadow linear mapping for n-on-3-on-4 shadows so
that guest mappings of the bottom 4GB are not reflected in the monitor
pagetable. This ensures in particular that page 0 is not mapped,
allowing us to catch NULL dereferences in the hypervisor.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/mm/shadow/multi.c